#ifndef PIPEDCOMMAND_H_
#define PIPEDCOMMAND_H_

#include "Command.h"

enum PIPE_STATUS{
	READ,WRITE
};

class PipedCommand {

private:
	vector<Command*> * commands;
	bool hasComms;


public:
	PipedCommand();
	virtual ~PipedCommand();
	void addCommand(Command *);
	bool hasCommands();
	bool executeCommands( bool );

};


#endif /* PIPEDCOMMAND_H_ */
